package com.tms.domain;

import java.util.Date;

/**
 * 生命周期类
 *
 * @author sxy
 */
public class LifeCycle {

    public LifeCycle() {
    }

    public LifeCycle(Tool tool, Status status, int recordId, Date time, String description) {
        this.tool = tool;
        this.status = status;
        this.recordId = recordId;
        this.time = time;
        this.description = description;
    }

    public LifeCycle(int id, Tool tool, Status status, int recordId, Date time, String description) {
        this.id = id;
        this.tool = tool;
        this.status = status;
        this.recordId = recordId;
        this.time = time;
        this.description = description;
    }

    private int id;

    private Tool tool;

    private Status status;

    private int recordId;

    private Date time;

    private String description;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Tool getTool() {
        return tool;
    }

    public void setTool(Tool tool) {
        this.tool = tool;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public int getRecordId() {
        return recordId;
    }

    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}